package com.hotel.sampleTool;

import java.util.List;

import com.hotel.BL.DepartmentLogic;

import data.Department;

public class DepartmentSample extends RequestSampleData {
	@Override
	public void CreateSample(int iteration) {		
		CreateSample();
	}

	@Override
	public void CreateSample() {
		List<Department> departments = new DepartmentLogic().GenerateDepartment(1l);
		for(Department s : departments)
			datastore.put(s.getEntity());
	}
}
